ul {
  list-style: none;
}

* {
  margin: 0;
  padding: 0;
}

.container {
  width: 500px;
  margin: 80px auto;
  user-select: none;


  .c-mode {
    height: 30px;
    margin: 15px 0;
    line-height: 30px;
    font-weight: bold;

    #c-mode {
      font-weight: normal;
    }

    button {
      height: 30px;
      float: right;
      padding: 4px;
    }
  }

  .c-tab {
    display: flex;
    .item {
      padding: 4px 20px;
      list-style: none;
      cursor: pointer;
      &:hover {
        color: #54b5e6;
      }
    }
    .active {
      color: #fff !important;
      background-color: #54B5E6;
    }

  }

  .c-page {
    width: 100%;
    margin-top: 10px;
    border: 1px solid #CCC;
    .p-wrapper {
      height: 200px;
      .p-item {
        width: 500px;
        height: 100%;
        line-height: 200px;
        text-align: center;
        font-size: 24px;
      }
    }
  }
}


// fade 淡入淡出模式
.fade {
  .p-wrapper {
    position: relative;
    .p-item {
      position: absolute;
      left: 0;
      top: 0;
      display: none;
    }
  }
}

// slide 平缓移动模式
.slide {
  .c-page {
    overflow: hidden;
    .p-wrapper {
      position: relative;
      width: 1500px;
      .p-item {
        float: left;
      }
    }
  }
}